import request from '@/utils/request'

export function memberApplyLists(params?: Record<string, any>) {
    return request.get({ url: '/member/lists', params })
}

// 文章分类详情
export function memberDetail(params: any) {
    return request.get({ url: '/member/detail', params })
}

// 添加文章
export function memberAdd(params: any) {
    return request.post({ url: '/member/add', params })
}

// 编辑文章
export function memberEdit(params: any) {
    return request.post({ url: '/member/edit', params })
}

export function memberExamine(params: any) {
    return request.post({ url: '/member/examine', params })
}

export function competitionSignUp(params: Record<string, any>) {
    return request.post({ url: '/competition/sign/up', params })
}

export function competitionApplyTeam(params: Record<string, any>) {
    return request.get({ url: '/competition/team', params })
}

export function competitionApplyExamine(params: Record<string, any>) {
    return request.post({ url: '/competition/examine', params })
}
